package com.company.recruit.controller;

import com.company.recruit.entity.RecruitEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;

/**
 * @author wanghengfeng
 * @date 2021年/12月/03日  10:57:04
 */
@Component
public class RecruitReduce {

    @Autowired
    RecruitController recruitController;

    public void deliveryEntity(RecruitEntity recruitEntity) {
        if( !StringUtils.isEmpty(recruitEntity)) {
            recruitController.deliveryEntity(recruitEntity);
        }
    }

}
